package edu.ccut.titan.tag.report.chart.dataset;

import net.sf.jasperreports.charts.design.JRDesignValueDataset;
import net.sf.jasperreports.engine.JRChartDataset;
import net.sf.jasperreports.engine.design.JRDesignExpression;
import edu.ccut.titan.tag.report.design.ChartsInfo;

public class TitanValueDataset implements ITitanDataset {

	public JRChartDataset getDatasetContent(ChartsInfo chart) {
		JRDesignValueDataset valueDataset = new JRDesignValueDataset(null);
		JRDesignExpression valueExpression = new JRDesignExpression();
		valueExpression.setValueClassName("java.lang.Object");
		valueExpression.setText("");
		valueDataset.setValueExpression(valueExpression);
		return valueDataset;
	}

}
